<h2>拥有好友最多的用户(Top20)</h2>

<table class='property' cellpadding="0" cellspacing="0">
<tr>
	<td class='key'>ID:</td>
	<td class='key'>用户名:</td>
	<td class='key'>好友数:</td>
</tr>

<? foreach($this->ret['data']['top'] as $row):?>
<tr align="left">
	<td><?= $row['uid']?></td>
	<td><a href='<?= AdminController::_makeURL('account', 'index', 'profile', array('uid'=>$row['uid']))?>'><?= $row['username']?></a></td>
	<td><?= $row['c']?></td>
</tr>
<? endforeach;?>
</table>
<br />
<table class='property' cellpadding="0" cellspacing="0">
	<tr>
		<td class='key'>平均每个用户有<?= $this->ret['data']['avg']?>个好友</td>
	</tr>
</table>